﻿@using DevExpress.Web.Mvc.UI
<!DOCTYPE HTML>

<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/admin.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    @Html.DevExpress().GetStyleSheets( 
    new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout, Theme = "Aqua"},
            new StyleSheet { ExtensionSuite = ExtensionSuite.Editors, Theme = "Aqua" },
            new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor, Theme = "Aqua" },
            new StyleSheet { ExtensionSuite = ExtensionSuite.GridView, Theme = "Aqua" },
            new StyleSheet { ExtensionSuite = ExtensionSuite.Chart, Theme = "Aqua" },
            new StyleSheet { ExtensionSuite = ExtensionSuite.Report, Theme = "Aqua" }
)
@Html.DevExpress().GetScripts( 
    new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout }, 
    new Script { ExtensionSuite = ExtensionSuite.HtmlEditor }, 
    new Script { ExtensionSuite = ExtensionSuite.GridView }, 
    new Script { ExtensionSuite = ExtensionSuite.Editors }, 
    new Script { ExtensionSuite = ExtensionSuite.Chart },
    new Script { ExtensionSuite = ExtensionSuite.Report }
)
</head>

<body>
    <nav>
        @Html.DevExpress().NavBar(settings =>
                                    {
                                        settings.Name = "Navbar";
                                        settings.Groups.Add(group =>
                                                                {
                                                                    group.Text = "Administratorski meni";
                                                                    group.Items.Add("Vrste restorana", "VrsteRestorana").NavigateUrl = Url.Action("VrsteRestorana", "Administracija");
                                                                    group.Items.Add("Vrste ponude", "VrstePonude").NavigateUrl = Url.Action("VrstePonude", "Administracija");
                                                                });
                                    }
        ).GetHtml()
    </nav>
	@RenderBody()
</body>
</html>